<script setup>
import { ref, reactive, inject } from 'vue'
const message = inject('provideData')
</script>

<template>
  <div>
    <h1>childB</h1>
    <hr/>
    <div>{{ message }}</div>
  </div>
</template>

<style scoped lang='scss'>
</style>